@layout("/common/_containers.html"){
<head>
    <meta charset="UTF-8">
    <title>项目展示</title>
    <link rel="stylesheet" type="text/css" href="../css/editormd.min.css" />
    <link href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/style.css?v=4.1.0" rel="stylesheet">
</head>
<!-- 禁用复制粘贴-->
<body oncontextmenu=self.event.returnValue=false onselectstart="return false">
<!-- 搜索表单-->
<form id="s" class="search">
    <input type="search" id="q" />
    <button type="submit">Search</button>
</form>
<!-- 下载按钮-->
<div class="action">
    <input type="hidden" id="filePathRem" value="${fileName}">
    <button id="btn2">下载</button>
</div>
<!-- 放JStree目录树-->
<div id="container" class="side-nav"></div>
<!-- 放editor.md文本-->
<div id="markdown-editor" class="markdown-text"></div>
<!-- 放图片-->
<div id="image-panel" class="image-panel"></div>
</body>
<!--jstree官网https://github.com/vakata/jstree#readme-->
<link rel="stylesheet" href="${ctxPath}/static/css/dicom/style.min.css" />
<script src="${ctxPath}/static/modular/dicom/jquery.min.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/dicom/jstree.min.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/dicom/file-node.js?v=20200718"></script>
<script src="${ctxPath}/static/editormd/editormd.min.js?v=4.1.0"></script>
<!--支持markdown快速解析-->
<script src="../lib/marked.min.js?v=4.1.0"></script>
<!--支持代码高亮-->h
<script src="../lib/prettify.min.js?v=4.1.0"></script>
<script type="text/javascript">
    $(".btn2").click(function () {
        var filePathRem=document.getElementById("filePathRem").value;
        window.location.href = Feng.ctxPath + "/fileController/admin/file/zip/download/" + filePathRem;
    });
</script>
@}